local ty_1v2_xz = fk.CreateSkill {
    name = "ty_1v2_xz&",
}

Fk:loadTranslationTable {
    ["ty_1v2_xz&"] = "徐州",
    [":ty_1v2_xz&"] = "你的初始手牌和手牌上限+3；结束阶段，你可以重铸至多两张牌。",
}

ty_1v2_xz:addEffect(fk.EventPhaseStart, {
    can_trigger = function(self, event, target, player, data)
        return target == player and player:hasSkill(self) and player.phase == Player.Finish and not player:isNude()
    end,
    on_cost = function(self, event, target, player, data)
        local room = player.room
        local cards = room:askToCards(player, {
            min_num = 1,
            max_num = 2,
            include_equip = true,
            skill_name = ty_1v2_xz.name,
            prompt = "徐州：请选择要重铸的至多两张牌",
            cancelable = true,
        })
        if #cards > 0 then
            event:setCostData(self, { cards = cards })
            return true
        end
    end,
    on_use = function(self, event, target, player, data)
        local room = player.room
        local cards = event:getCostData(self).cards
        room:recastCard(cards, player, ty_1v2_xz.name)
    end,
})

return ty_1v2_xz
